package com.leyou.item.entity;

import lombok.Data;
import sun.font.Decoration;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


/**
 * @package com.leyou.item.entity
 * @description:
 * @author: 86157
 * @date 2019/6/23 19:25
 * @version: V1.0
 */

/**
 * HuGe
 */
@Table(name = "tb_category")
@Data
public class Category {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;
    private String name;
    private Long parentId;
    private Boolean isParent;
    private Integer sort;
    private Date createTime;
    private Date updateTime;

}
